home *** CD-ROM | disk | FTP | other *** search
- { %filename% -- document methods }
- { Created %date% %time% by AppMaker }
-
- { This module overrides the AppMaker-generated code in z%Appname%Doc.% %}
- { It provides a place for you to add your own code and still be able to }
- { generate code for new changes to the user interface. This module will }
- { not be regenerated by AppMaker unless you delete it. Its superclass, }
- { z%Appname%Doc, may be regenerated to handle user interface changes % %}
- { without losing your hand-coded changes to this module. }
-
- Unit %unitname%;
- Interface
-
- Uses
- TCL,
- AMCL,
- %AppName%Intf,
- %for each dialog gen usesDocDialogs%
- ResourceDefs;
-
- {----------}
- Implementation
-
- {----------}
- Procedure C%Appname%Doc.I%Appname%Doc% %(aSupervisor: CApplication;
- printable: Boolean);
- Begin
- inherited I%Appname%Doc (aSupervisor, printable);
-
- {your application-specific initialization:}
-
- End; {I%Appname%Doc}
-
- {----------}
- Procedure C%Appname%Doc.UpdateMenus;
- Begin
- inherited UpdateMenus;
- %for each menu gen updateDocMenus%
-
- End; {UpdateMenus}
-
- {----------}
- Procedure C%Appname%Doc.DoCommand (theCommand: longint);
- Begin
- case theCommand of
- 0: ;
- %for each menu gen handleDocItems%
-
- otherwise
- inherited DoCommand (theCommand);
- end; {case}
- End; {DoCommand}
-
- End. {%unitname%}
-